package com.yuanmeng.common.core.enums;

import lombok.Getter;

/**
 * @Package: com.yuanmeng.common.core.enums
 * @Description： 默认状态
 * @Author: 安然
 * @create: 2022-06-30 14:47
 */
@Getter
public enum DefaultStatusEnum {
    YES("0", "是"),

    NO("1", "否");

    private final String code;
    private final String info;

    DefaultStatusEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
